package org.scirp.ijmis.po.admin;

import java.util.HashSet;
import java.util.Set;

/**
 * TAdmin entity. @author MyEclipse Persistence Tools
 */

public class Admin implements java.io.Serializable {

	// Fields

	private Long pid;
	private String loginName;
	private String firstName;
	private String lastName;
	private String plainPassword;
	private String md5Password;
	private String telephone;
	private String email;
	private String isDeleted;
	private String isSuperAdmin;

	private Set<JournalRoleOfAdmin> journalRoleOfAdmins = new HashSet<JournalRoleOfAdmin>(0);

	private Set<AdminLoginInformation> adminLoginInformations = new HashSet<AdminLoginInformation>(0);

	public Long getPid() {
		return pid;
	}

	public String getLoginName() {
		return loginName;
	}

	public String getFirstName() {
		return firstName;
	}

	public String getLastName() {
		return lastName;
	}

	public String getPlainPassword() {
		return plainPassword;
	}

	public String getMd5Password() {
		return md5Password;
	}

	public String getTelephone() {
		return telephone;
	}

	public String getEmail() {
		return email;
	}

	public String getIsDeleted() {
		return isDeleted;
	}

	public String getIsSuperAdmin() {
		return isSuperAdmin;
	}

	public Set<JournalRoleOfAdmin> getJournalRoleOfAdmins() {
		return journalRoleOfAdmins;
	}

	public Set<AdminLoginInformation> getAdminLoginInformations() {
		return adminLoginInformations;
	}

	public void setPid(Long pid) {
		this.pid = pid;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	public void setLastName(String lastName) {
		this.lastName = lastName;
	}

	public void setPlainPassword(String plainPassword) {
		this.plainPassword = plainPassword;
	}

	public void setMd5Password(String md5Password) {
		this.md5Password = md5Password;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public void setIsDeleted(String isDeleted) {
		this.isDeleted = isDeleted;
	}

	public void setIsSuperAdmin(String isSuperAdmin) {
		this.isSuperAdmin = isSuperAdmin;
	}

	public void setJournalRoleOfAdmins(Set<JournalRoleOfAdmin> journalRoleOfAdmins) {
		this.journalRoleOfAdmins = journalRoleOfAdmins;
	}

	public void setAdminLoginInformations(Set<AdminLoginInformation> adminLoginInformations) {
		this.adminLoginInformations = adminLoginInformations;
	}

}